From 0e358737de75ba555656e725c3ae659ecffd98fe Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Wed, 27 Jul 2005 17:00:24 +0000 Subject: [PATCH] Move SIF_BLK_BE_DOMAIN and SIF_NET_BE_DOMAIN definitions to where they are used. Signed-off-by: Christian Limpach --- tools/python/xen/xend/XendDomainInfo.py | 6 ------ tools/python/xen/xend/image.py | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index e7a8aa5589..b193cdde66 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -32,12 +32,6 @@ from xen.xend.XendRoot import get_component from xen.xend.uuid import getUuid from xen.xend.xenstore import DBVar -"""Flag for a block device backend domain.""" -SIF_BLK_BE_DOMAIN = (1<<4) - -"""Flag for a net device backend domain.""" -SIF_NET_BE_DOMAIN = (1<<5) - """Shutdown code for poweroff.""" DOMAIN_POWEROFF = 0 diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 95d29c642a..4542fd1d7b 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -8,6 +8,12 @@ from xen.xend.xenstore import DBVar from xen.xend.server import channel +"""Flag for a block device backend domain.""" +SIF_BLK_BE_DOMAIN = (1<<4) + +"""Flag for a net device backend domain.""" +SIF_NET_BE_DOMAIN = (1<<5) + class ImageHandler: """Abstract base class for image handlers. -- 2.30.2